package com.wx.fresh.custom.vo.productVo;

import com.wx.fresh.custom.vo.productVo.LabelVo;
import com.wx.fresh.custom.vo.productVo.SkuPriceVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Dshzs月
 * @version 1.0.0
 * @ClassName ProductVo.java
 * @Description TODO
 * @createTime 2022年04月19日 17:08:00
 */

@Data
@ApiModel(value = "商品信息", description = "首页商品的详情")
public class ProductVo {

    @ApiModelProperty(value = "商品ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "商品名称", example = "西瓜、菠萝")
    private String productName;

    @ApiModelProperty(value = "商品图片", example = "url")
    private String productImage;

    @ApiModelProperty(value = "商品产地", example = "流州")
    private String originPlace;

    @ApiModelProperty(value = "商品价格")
    private List<SkuPriceVo> price;

    @ApiModelProperty(value = "商品标签")
    private List<LabelVo> label;
}
